<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="beans.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		String userno = request.getParameter("userno");
		UserDAO userDAO = new UserDAO();
		boolean flag = true;
		flag = userDAO.delete(userno);
		if (flag) {
			response.sendRedirect("findall.jsp");
		} else {
			response.sendRedirect("error.jsp");
		}
	%>

</body>
</html>